package br.edu.ufcg.splab.techniques.reduction.functions.similarity;

import br.edu.ufcg.splab.generator.TestCase;

public class SymmetricNormalisedCompression implements DistanceFunction{

	
	public double getSimilarity(TestCase path1, TestCase path2){
		SymmetricNormalisedCompressionDistance sncd = new SymmetricNormalisedCompressionDistance();		
		return 1.00 - sncd.getSimilarity(path1, path2);
	}

	/**
     * Provide a string representation of the similarity function to be written.
     * @return The string representation of the similarity function.
     */
	public String getFunctionName(){
		return "SNC";
	}
	
}
